﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Itau.IM.Common.Mainframe.Book;

namespace Itau.IM.Carimbador.Contract
{
    [BookClass(186)]
    public class ConsultarControle
    {
        [BookStringField(1,2)]
        public string IndicadorErros { get; set; }

        [BookStringField(3, 3)]
        public string CodigoErro { get; set; }

        [BookNumberField(6,4)]
        public Int16 CodigoSQL { get; set; }

        [BookStringField(10,16)]
        public string NomeTabela { get; set; }

        [BookStringField(26,15)]
        public string CampoErro { get; set; }

        [BookStringField(41,50)]
        public string Mensagem { get; set; }

        [BookStringField(91,2)]
        public string CodigoRetornoExterno { get; set; }

        [BookNumberField(93,4)]
        public Int16 PontoErro { get; set; }

        [BookStringField(97,40)]
        public string AreaChaves { get; set; }

        [BookStringField(137,20)]
        public string ProgramaErro { get; set; }

        [BookStringField(157,20)]
        public string MensagemSQL { get; set; }

    }
}
